<?php
namespace app\index\controller;
use think\Controller;
use app\common\model\Config;
use app\common\model\MallConfig;
use app\common\model\User;
use app\common\model\Mall;


class Base extends Controller
{
 
    public function __construct()
    {
        parent::__construct();
        $input = input();
        config(Config::getConfig());
        if($input['mall_id']) {
            config(MallConfig::getConfig($input['mall_id']));
        }
    }
}
